﻿namespace Infra.Logging
{
    using System;
    using System.Xml;

    public class XmlLogger : ILog
    {
        private XmlDocument document;

        public XmlLogger()
        {
            document = new XmlDocument();
        }
        
        public void WriteMessage(string message)
        {
            document.CreateTextNode(message);
        }

        public void WriteException(Exception exception)
        {
            throw new System.NotImplementedException();
        }
    }
}
